<!--
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
-->
<html>
	<wicket:head>
		<!--
		Test find in wicket:head of subclass
		-->
		<link wicket:id="b1">
	</wicket:head>

	<wicket:extend>

		<!--
		test find fragment in subclass
		-->
		<wicket:fragment wicket:id="b2">

			Something here
			<!--
			Test not find in fragment in subclass
			-->
			<span wicket:id="b3">hhh</span>

		</wicket:fragment>

		<!--
		Test find in subclass
		-->
		<div wicket:id="b4">

			<!--
			Test not find inside component tag in sub class
			-->
			<div wicket:id="b5"></div>

			<!--
			Notice that <wicket:child> is inside component tag. We must still be able to find
			components inside <wicket:extend> of subclass.
			-->
			<wicket:child/>

			<!--
			Test not find inside component tag after wicket:child
			-->
			<div wicket:id="b6"></div>
		</div>

	</wicket:extend>
</html>